Functions

Display Manager provides these functions:

Adding and Removing Video Devices From the Device List

DMAddDisplay Adds the GDevice structure for a video device to the device list.
DMDisposeDisplay Disposes of the GDevice structure for a video device.
DMDisposeList Disposes of a display mode list built by DMNewDisplayModeList.
DMGetIndexedDisplayModeFromList Obtains a display mode from the display mode list built by DMNewDisplayModeList.
DMNewDisplay Adds a video device to the device list and makes the device active.
DMNewDisplayModeList Builds a new display mode list for a specified video device.
DMRemoveDisplay Removes a video device from the device list.

Changing Display Modes and Display Configurations

DMBeginConfigureDisplays Allows your application to configure displays. You should generally never need to use this function.
DMBlockMirroring Disables video mirroring. You should generally never need to use this function.
DMDisableDisplay Makes a video device inactive by removing its display area from the desktop. You should generally never need to use this function.
DMEnableDisplay Reactivates a display made inactive with the function DMDisableDisplay. You should generally never need to use this function.
DMEndConfigureDisplays Ends configuration begun by DMBeginConfigureDisplays. You should generally never need to use this function.
DMMirrorDevices Turns on video mirroring.
DMMoveDisplay Moves the boundary rectangle for a video device. You should generally never need to use this function.
DMSetDisplayMode Sets the display mode and pixel depth for a video device.
DMSetMainDisplay Sets a display to be the main screen. You should generally never need to use this function.
DMUnblockMirroring Reenables video mirroring disabled by the function DMUnblockMirroring. You should generally never need to use this function.
DMUnmirrorDevice Turns off video mirroring.

Determining Display Modes and Display Configurations

DMCanMirrorNow Determines whether video mirroring can be activated on the userís computer system.
DMCheckDisplayMode Determines if a video device supports a particular display mode and pixel depth.
DMGetAVPowerState Obtains the current power state of a display.
DMGetDisplayMode Obtains the current display mode of a specified video display.
DMGetGraphicInfoByAVID Obtains information about the graphic display of a display device.
DMGetNameByAVID Obtains the name of a display device.
DMIsMirroringOn Determines if video mirroring is active.
DMQDIsMirroringCapable Determines if QuickDraw supports video mirroring on the userís system.
DMSaveScreenPrefs Saves the userís screen configuration preferences.
DMSetAVPowerState Sets the power state of a display device.

Getting Video Devices

DMGetDisplayIDByGDevice Obtains the display ID number for a video device.
DMGetFirstScreenDevice Returns a handle for the first video device in the device list.
DMGetGDeviceByDisplayID Obtains a handle for the video device with a specified display ID.
DMGetNextMirroredDevice Obtains a handle for a video device that mirrors another specified video device.
DMGetNextScreenDevice Returns a handle for the next video device in the device list.

Registering and Unregistering Your Program

DMRegisterExtendedNotifyProc Registers a function that responds to a Display Notice event outside of an event loop.
DMRemoveExtendedNotifyProc Removes your Display Notice event-handling function registered by the DMRegisterExtendedNotifyProc function.
DMSendDependentNotification Notifies dependent displays of changes in depth mode or configuration.

Miscellaneous

CallDMComponentListIteratorProc
CallDMDisplayModeListIteratorProc
CallDMExtendedNotificationProc
CallDMNotificationProc
DMConfirmConfiguration
DMDisposeAVComponent
DMDrawDesktopRect
DMDrawDesktopRegion
DMGetComponentAnimateTicks
DMGetDeskRegion
DMGetDeviceAVIDByPortAVID
DMGetDeviceComponentByAVID
DMGetDisplayComponent
DMGetDisplayDevice
DMGetDisplayID
DMGetDisplayMgrA5World
DMGetEnableByAVID
DMGetGDeviceTablecloth
DMGetIndexedComponentFromList
DMGetNextAnimateTime
DMGetPortComponentByAVID
DMNewAVDeviceList
DMNewAVEngineList
DMNewAVIDByDeviceComponent
DMNewAVIDByPortComponent
DMNewAVPanelList
DMNewAVPortListByDeviceAVID
DMNewAVPortListByPortType
DMRegisterNotifyProc
DMRemoveNotifyProc
DMResolveDisplayComponents
DMSetComponentAnimateTicks
DMSetDisplayComponent
DMSetEnableByAVID
DMSetGDeviceTablecloth
DisposeDMComponentListIteratorUPP
DisposeDMDisplayModeListIteratorUPP
DisposeDMExtendedNotificationUPP
DisposeDMNotificationUPP
InvokeDMComponentListIteratorUPP
InvokeDMDisplayModeListIteratorUPP
InvokeDMExtendedNotificationUPP
InvokeDMNotificationUPP
NewDMComponentListIteratorProc
NewDMComponentListIteratorUPP
NewDMDisplayModeListIteratorProc
NewDMDisplayModeListIteratorUPP
NewDMExtendedNotificationProc
NewDMExtendedNotificationUPP
NewDMNotificationProc
NewDMNotificationUPP

© 2000 Apple Computer, Inc. — (Last Updated 3/8/2000)